package com.excilys.dto;

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * The User class for the webservice
 * 
 * @author excilys dev: GF
 * 
 */

@XmlRootElement
public class UserDTO {

	private String userDTOFirstName;
	private String userDTOLastName;
	private String userDTOLogin;
	private List<AccountDTO> userDTOListAccountDTO;

	public UserDTO() {
		super();
	}

	public UserDTO(String userDTOFirstName, String userDTOLastName, String userDTOLogin, List<AccountDTO> userDTOListAccountDTO) {
		super();
		this.userDTOFirstName = userDTOFirstName;
		this.userDTOLastName = userDTOLastName;
		this.userDTOLogin = userDTOLogin;
		this.userDTOListAccountDTO = userDTOListAccountDTO;
	}

	public String getUserDTOFirstName() {
		return userDTOFirstName;
	}

	public void setUserDTOFirstName(String userDTOFirstName) {
		this.userDTOFirstName = userDTOFirstName;
	}

	public String getUserDTOLastName() {
		return userDTOLastName;
	}

	public void setUserDTOLastName(String userDTOLastName) {
		this.userDTOLastName = userDTOLastName;
	}

	public String getUserDTOLogin() {
		return userDTOLogin;
	}

	public void setUserDTOLogin(String userDTOLogin) {
		this.userDTOLogin = userDTOLogin;
	}

	public List<AccountDTO> getUserDTOListAccountDTO() {
		return userDTOListAccountDTO;
	}

	public void setUserDTOListAccountDTO(List<AccountDTO> userDTOListAccountDTO) {
		this.userDTOListAccountDTO = userDTOListAccountDTO;
	}

}
